feat(core,ci,docs): built-in skills (15) + effort-bench + release pipeline + BEHAVIOR_PARITY#14
Merged
Merged
Conversation
… + behavior parity What ships ---------- Built-in skills (15 SKILL.md files in packages/core/skills/) - init / verify / run / code-review / security-review / skill-creator - consolidate-memory / fewer-permission-prompts / update-config / keybindings-help - deepseek-api / loop / schedule / review / pdf Each has frontmatter (name + description) and a short body. The CLI auto-locates this dir via `@deepcode/core/package.json` resolution and passes it to loadSkills as the `builtinDir`. The 15 are baseline stubs — content can grow over time. Effort benchmark (packages/core/scripts/effort-bench.ts) - 3 scenarios × 5 effort tiers = 15 real API calls - Reads creds from DEEPSEEK_API_KEY env OR ~/.deepcode/credentials.json - Writes docs/design/effort-levels-measured.csv next to the design doc - Computes ¥ cost using DeepSeek pricing from docs/design/effort-levels.md §2.4 - Run: pnpm -F @deepcode/core tsx scripts/effort-bench.ts Release pipeline (.github/workflows/release.yml) - Triggered on git tag v* - validate job: typecheck + test + build on Ubuntu Node 22 - publish-cli: npm publish, with --tag <channel> for beta/nightly - build-mac: stubbed (if: false) until M6 ships Electron app — has the full electron-builder + Apple notarization + artifact upload structure ready - github-release: auto release notes from `git log`, prerelease flag for non-stable - Channel/version/mandatory derived from tag: vX.Y.Z (stable), vX.Y.Z-beta.N, vX.Y.Z-nightly.N, vX.Y.Z+security.N BEHAVIOR_PARITY.md (docs/) - Per-feature comparison table vs Claude Code: 30+ slash commands, hook events, hook handler types, modes, memory system, MCP, tools, CLI flags - Each row marked ✅ matches / 🟡 caveats / 🔄 deferred /⚠️ deliberately differs / 🆕 DeepCode-only REPL plumbing (apps/cli/src/repl.ts) - New `resolveBuiltinSkillsDir()` helper finds packaged skills/ via @deepcode/core/package.json + dirname; loaded into skills registry alongside user/project/plugin layers Package manifest - packages/core/package.json `files` now includes "skills/" so npm install bundles the built-in skills Verified -------- pnpm typecheck → green pnpm test → 308 passed / 8 skipped / 0 failed (unchanged — skills are content) pnpm format:check → conformant Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
4 bundled deliverables in one PR:
packages/core/skills/— bundled in the npm package, auto-loaded by CLI alongside user/project layersscripts/effort-bench.ts— runs 3 scenarios × 5 effort tiers against real DeepSeek API, writes measured numbers todocs/design/effort-levels-measured.csv.github/workflows/release.yml— tag-triggered release pipeline (npm publish + GitHub release). Mac client step stubbedif: falseuntil M6 lands Electron appdocs/BEHAVIOR_PARITY.md— comprehensive per-feature comparison with Claude CodeRelease notes
release-notes:featureCo-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com